package com.wenda.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wenda.dao.SpecialtyDao;
import com.wenda.entity.Specialty;
import com.wenda.service.SpecialtyService;
@Service("specialtyService")
public class SpecialtyServiceImpl implements SpecialtyService{
	@Autowired
	SpecialtyDao spesialtyDao;

	@Override
	public List<Specialty> findByCollege(Integer collegeId) {
		return spesialtyDao.findByCollegeId(collegeId);
	}

}
